package com.triones.api.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.triones.api.entity.EcWalletBillDO;
import com.triones.api.entity.vo.CustomEcWalletBillVO;
import com.triones.api.entity.vo.EcWalletBillVO;
import org.apache.ibatis.annotations.Param;

/**
 * 平台子账户Mapper
 */
public interface EcWalletBillMapper extends BaseMapperPlus<EcWalletBillMapper, EcWalletBillDO, EcWalletBillVO> {

    /**
     * 账单列表
     * @param build
     * @param wrapper
     * @return
     */
    Page<CustomEcWalletBillVO> apiTradePageList(@Param("page") Page<Object> build,@Param(Constants.WRAPPER) QueryWrapper<Object> wrapper);
}
